import request from '@/utils/https'

//添加上传apk到oss所需信息
export const getOssApkInfo = params => request('post','api/getOssApkInfoAdd',params)

//编辑上传apk到oss所需信息
export const getOssApkInfoEdit = params => request('post','api/getOssApkInfoEdit',params)

//获取上传图片到oss所需信息
export const getOssImgInfo = params => request('post','api/getOssImgInfo',params)

export const getOssFileInfo = params => request('get','api/getOssFileInfo',params)

//APK上传
export const apkAdmin = params => request('post','api/apkAdmin',params)

//获取应用信息
export const queryAppAll = params => request('get','api/queryAppAll',params)

//应用 ID 获取应用消息
export const queryIdApp = params => request('get','api/queryIdApp',params)

//删除应用信息
export const deleteApp = params => request('post','api/deleteApp',params)

//应用上传图片
export const uploadPreviewImg = params => request('post','api/uploadPreviewImg',params)

//获取应用分类信息
export const queryCategory = params => request("get",'api/queryCategory',params)

//添加应用分类信息
export const addCategory = params => request('post','api/addCategory',params)

//根据id获取分类信息
export const queryCategoryId = params => request('get','api/queryCategoryId',params)

//编辑应用分类信息
export const editCategory = params => request('post','api/editCategory',params)

//删除应用分类信息
export const deleteCategory = params => request('post','api/deleteCategory',params)

//用户获取应用分类
export const queryUserIdCategory = params => request('get','api/queryUserIdCategory',params)


// ----------------------------------------------------------------------------------------------------------------------
//获取应用品牌信息
export const queryBrand = params => request('get','api/queryBrand',params)

//添加应用品牌信息
export const addBrand = params => request('post','api/addBrand',params)

//根据id查找品牌信息
export const queryBrandId = params => request('get','api/queryBrandId',params)

//编辑应用品牌信息
export const editBrand = params => request('post','api/editBrand',params)

//删除引用品牌信息
export const deleteBrand = params => request('post','api/deleteBrand',params)

//用户获取应用品牌
export const queryUserIdBrand = params => request('get','api/queryUserIdBrand',params)


//---------------------------------------------------------------------------------------------------------------------
//获取应用专题信息
export const querySubject = params => request('get','api/querySubject',params)

//添加应用专题信息
export const addSubject = params => request('post','api/addSubject',params)

//根据id查找专题信息
export const querySubjectId = params => request('get','api/querySubjectId',params)

//编辑应用专题信息
export const editSubject = params => request('post','api/editSubject',params)

//删除单个应用专题信息
export const deleteSubject = params => request('post','api/deleteSubject',params)

//获取应用批次信息
export const queryBatch = params => request('get','api/queryBatch',params)

//编辑应用消息
export const editApp = params => request('post','api/editApp',params)

//增加应用消息
export const addApp = params => request('post','api/addApp',params)

//专题上传图片
export const uploadSubjectImg = params => request('post','api/uploadSubjectImg',params)

//用户获取应用专题
export const queryUserIdSubject = params => request('get','api/queryUserIdSubject',params)

//添加小程序信息
export const addMiniProgramInfo = params => request('post','api/addMiniProgramInfo',params)

//查询小程序信息
export const queryMiniProgramInfo = params => request('get','api/queryMiniProgramInfo',params)

//通过id查询小程序信息
export const queryMiniInfoById = params => request('get','api/queryMiniInfoById',params)

//编辑微信小程序信息
export const editMiniProgramInfo = params => request('post','api/editMiniProgramInfo',params)

//删除微信小程序信息
export const delMiniProgramInfo = params => request('get','api/delMiniProgramInfo',params)




